<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	request.setCharacterEncoding("UTF-8");
	String cp=request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="<%=cp%>/member/css/global.css" rel="stylesheet" type="text/css" />
<link href="<%=cp%>/member/css/layout.css" rel="stylesheet" type="text/css" />
<link href="<%=cp%>/member/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=cp%>/data/js/jquery-1.8.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	if($("#check").val() == "false"){
		alert("아이디와 비밀번호를 확인해주세요");
	}

});

 function login(){
	 var f=document.frmLogin
	 
	 f.action="<%=cp%>/member/login.action";
	 f.submit();
 }
</script>
</head>
<body>
<div id="container">
	<form id="frmLogin" name="frmLogin" method="post" >
	<input type="hidden" name="mode" value="${mode}" />
	<input type="hidden" name="check" id="check" value="${check}" />
	<!-- Contents -->
		<%-- <div id="contents" align="left">
			
			<div class="titleArea">
				<h3><img src="<%=cp%>/member/image/h3_login.gif" alt="로그인" /><span class="visualImg"><img src="<%=cp%>/member/image/img_visual.gif"  alt="비주얼이미지" /></span></h3>
				<div class="location">
					<a href="#"><img src="<%=cp%>/member/image/icon_home.gif" alt="홈" /></a> &gt; <a href="#">마이페이지</a> &gt; <b>로그인</b>
				</div>
			</div> --%>
 
			<p><img src="<%=cp%>/member/image/txt_welcome.gif" alt="한진관광에 오신것을 환영합니다. 회원전용서비스입니다. 로그인을 해주세요." /></p>
 
			<div class="loginBox">
				<!-- 로그인 -->
				<div class="login">
					<dl>
						<dt><img alt="아이디" src="<%=cp%>/member/image/txt_id.gif" /></dt>
						<dd><input class="type_bgtext" type="text" id="userId" name="userId" onkeydown="javascript:if(event.keyCode == 13)  {return fnLogin(); }" /></dd>
						<dt><img alt="패스워드" src="<%=cp%>/member/image/txt_password.gif" /></dt>
						<dd><input class="type_bgtext" type="password" id="userPwd" name="userPwd" onkeydown="javascript:if(event.keyCode == 13)  {return fnLogin(); }" /></dd>
					</dl>
					<p><img alt="로그인" src="<%=cp%>/member/image/btn_login2.gif" style="cursor:pointer;" onclick="login();" /></p>
				</div>
				<!-- 로그인 //-->
 
				<!-- 아이디/비번찾기 회원가입 -->
				<div class="find_idpw">
					<p>아이디와 비밀번호가 기억나지 않으세요?</p>
					<div class="btnArea4">
                        <a href="<%=cp%>/member/findIdPwd.action"><img src="<%=cp%>/member/image/btn_id_password_search.gif" alt="아이디/비밀번호 찾기"  /></a> 
                        
                        <a href="<%=cp%>/member/member/created.action"><img src="<%=cp%>/member/image/btn_member_join.gif" alt="회원가입"  /></a></div>
				</div>
				<!-- 아이디/비번찾기 회원가입 //-->
			</div>
 
			<h4 class="h5Type2">회원으로 가입하시면 이런점이 좋아요!</h4>
 
			<div><img src="<%=cp%>/member/image/img_login_visual.gif" alt="비주얼이미지" /></div>
	</form>
</div>
</body>
</html>